<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('转发公文')" />
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row">
        <div class="col-sm-12  select-table table-striped">
            <table id="bootstrap-table"></table>
            <input th:value="*{docId}" type="hidden" name="docId">
        </div>
    </div>
</div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "docManager/manager";
        var docId = $('input[name="docId"]').val();
        $(function() {
            var options = {
                url: prefix + "/"+docId+"/sendDocList",
                modalName: "公文转发情况",
                method:"get",
                columns: [{
                    checkbox: false
                },
                {
                    field: 'doc.docOrder',
                    title: '发文号',
                },
                {
                    field: 'doc.docTitle',
                    title: '公文标题',
                },
                {
                    field: 'receiveDept.deptName',
                    title: '部门'
                },
                {
                    field: 'receiveDate',
                    title: '转发日期'
                }]
            };
            $.table.init(options);
        });

    </script>
</body>
</html>